import request from "@/utils/request";

// 发票 查询列表
export function getListAPI(query) {
  return request({
    url: "/invoice/list",
    method: "get",
    params: query,
  });
}

// 发票 审核
export function solveAPI(data) {
  return request({
    url: "/invoice/audit",
    method: "post",
    data: data,
  });
}

// 发票 新增修改
export function uplodaImgAPI(data) {
  return request({
    url: "/invoice/upload",
    method: "post",
    data: data,
  });
}
